package com.sls.web.manager.recharge.service;

import java.util.List;

import com.sls.web.manager.page.Pagination;
import com.sls.web.manager.pojo.UserInfoVO;
import com.sls.web.manager.recharge.pojo.Supplier;
import com.sls.web.manager.recharge.pojo.SupplierRechargeMode;
import com.sls.web.manager.recharge.querybean.SupplierRechargeModeQuery;

public interface SupplierRechargeModeService {
	/**
	 * 供货商提供的充值方式
	 * 
	 * @param SupplierRechargeMode
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public boolean save(SupplierRechargeMode sa, UserInfoVO userinfo)
			throws Exception;

	/**
	 * 查询供货商提供的充值方式列表
	 * 
	 * @param SupplierRechargeMode
	 * @param userinfo
	 * @return
	 */
	public Pagination<?> queryList(SupplierRechargeModeQuery rQuery,
			UserInfoVO userinfo) throws Exception;

	/**
	 * 删除供货商提供的充值方式
	 * 
	 * @param SupplierRechargeMode
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public boolean delete(String id, UserInfoVO userinfo) throws Exception;

	/**
	 * 根据id查询供货商提供的充值方式
	 * 
	 * @param SupplierRechargeMode
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public SupplierRechargeMode queryById(String id, UserInfoVO userinfo)
			throws Exception;

	/**
	 * 修改供货商提供的充值方式
	 * 
	 * @param SupplierRechargeMode
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public boolean update(SupplierRechargeMode s, UserInfoVO userinfo)
			throws Exception;

	/**
	 * 查询供货商列表
	 * 
	 * @param supplie
	 * @param userinfo
	 * @return
	 */
	public List<Supplier> querySupplier(UserInfoVO userinfo);
}
